(navigation image)
Home American Libraries | Canadian Libraries | Universal Library | Community Texts | Project Gutenberg | Children's Library | Biodiversity Heritage Library | Additional Collections
Search: Advanced Search
Anonymous User (login or join us)
Upload
See other formats

Full text of "Arduino"

Connect an Arduino to a $7 Bluetooth Serial Module 



i 



Make Projects 



build, hack, tweak, share, discover,' 



Connect an Arduino to a $7 



Bluetooth Serial Module 



Written By: wolfgang 



O PARTS: 

• Arduino Uno (1) 

• Bluetooth serial module (1) 



SUMMARY 

The Arduino microcontroller board is a fantastic starting point for electronic and physical 
computing projects. As the standard Arduino board does not offer any wireless connection, 
such as WLAN or Bluetooth, this project shows how to easily connect a $7 Bluetooth serial 
module to your Arduino. The Bluetooth serial module enables your microcontroller board to 
communicate with every Bluetooth-equipped device, such as laptops, tablet PCs or 
smartphones. 



© Make Projects www.makeprojects.com Page 1 of 3 



Connect an Arduino to a $7 Bluetooth Serial Module 








^^x^fciK 












.^^SS 






F.N #& 






^/ ^^^E* ^^^mm£r 




V>^ ' r ^ *. >~ ,« 









# The image shows a $7 Bluetooth 
serial module that you can readily 
find on eBay . It offers 4 pins (5V, 
Ground, RX and TX), that you have 
to connect with the right pins on 
your Arduino Uno board. No 
additional electronic parts are 
necessary. 



Step 2 




You will need to identify the 5V and 
Ground pins on your Arduino in 
order to provide the power source 
for activating your Bluetooth serial 
module. Connect the Bluetooth 
module's RX pin to the Arduino's 
TX pin. Connect the Bluetooth 
module's TX pin to the Arduino's 
RX pin. 



© Make Projects 



www.makeprojects.com 



Page 2 of 3 



Connect an Arduino to a $7 Bluetooth Serial Module 




• After connecting the Bluetooth serial module to your Arduino you are able to pair the 
Bluetooth module with any Bluetooth-enabled device. Use '1234' as the pairing key. 

• There is no additional library necessary for communication. The Bluetooth module replaces 
a normal serial cable on RX and TX. 

• The Arduino code for writing to the Bluetooth serial module is quite simple: void 

setup ( ) { Serial .begin( 9600 ) ; } void loop() { 
Serial. println( "test" ) ; delay(lOOO); } 

• For receiving the output on your PC just open a terminal program, or Putty, and connect to 
the COM port of your Bluetooth Serial profile (e.g. COM3 on my PC). 

This document was last generated on 201 2-1 1 -28 03:1 5:59 AM. 



© Make Projects www.makeprojects.com Page 3 of 3